package com.demo01_video.client;


import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(name = "feed-service")
public interface FeedServiceClient {
    @PostMapping("/feeds/internal/feed")
    void pushVideoToFollowers(@RequestParam Long videoId,  @RequestParam Long authorId);
}
